#define  _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
#include"HashTable.h"
#include<time.h>
#include"MyunorderMap.h"
#include"MyunorderSet.h"
int main()
{
	/*open_adress::HashTable<int, int> ht1;
	for (int i = 0; i < 20; i++)
	{
		int e = rand() % 100;
		ht1.Insert(make_pair(e, e));
	}
	ht1.Erase(58);
	ht1.Insert(make_pair(-3, -3));
	ht1.Print();*/


	/*hash_bucket::HashTable<int, int> ht2;
	for (int i = 0; i < 2000; i++)
	{
		int e = rand() % 100+i;
		bool b1=ht2.Insert(make_pair(e, e));
		cout <<e<<"->"<< b1 << endl;
	}
	ht2.Print();
	ht2.Erase(2089);
	ht2.Erase(2089);
	ht2.Print();*/
	MyunorderMap<int, int> map;
	for (int i = 0; i < 200; i++)
	{
		int e = rand();
		map.insert(make_pair(e, e + 1));
	}
	map.Print();
	
	return 0;
}